package org.example.service;

import org.apache.ibatis.annotations.Param;
import org.example.domain.po.ErpOrganization;
import com.baomidou.mybatisplus.extension.service.IService;
import org.example.domain.vo.ErpOrganizationVO;

import java.util.List;

/**
* @author DELL
* @description 针对表【erp_organization(机构表)】的数据库操作Service
* @createDate 2024-11-05 20:21:48
*/
public interface ErpOrganizationService extends IService<ErpOrganization> {
    List<ErpOrganizationVO> selectOrganVOTree();
    
    List<ErpOrganizationVO> queryParent(Long id, Long parentId, Long tenantId);
    
    boolean updateOrgan(ErpOrganization organization);
    
    boolean organInsert(ErpOrganization organization);
    
    boolean removeBatchByOrgAbs(List<String> organAbs, Long tenantId);
}
